package com.ylr.redis.common.exception;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2022-05-22 16:46:27
 * className: RedisException redis操作异常类
 * version: 1.0
 * description:
 */
public class RedisException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    public RedisException(String message) {
        super(message);
    }

    public static RedisException get(String message) {
        return new RedisException(message);
    }
}
